﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using HKEA.CMS.Core.Utility;
namespace WebApplication
{
    public partial class Member_Master : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                #warning // 是否登录不应该放到母板页 页面执行顺序为: aspx=>master=>ascx
            }
        }
        protected void GetNextUrl()
        {
            if (Request != null)
                Session[Constant.SessionName.NextUrl] = HttpContext.Current.Request.Url.PathAndQuery.ToString().Replace("/", "");
            else
                Session[Constant.SessionName.NextUrl] = Constant.MainPage.index;
        }
    }
}